// REVAMPED BLADES OF AVERNUM DATA
// Floors overhaul, a few terrains and a
// slew of new items by Terror's Martyr.
// <terrorsmartyr@wi.rr.com>
// Vast majority of new terrains, some
// new items and a few creature edits
// by Kelandon.
// <tomwatts@berkeley.edu>
// 
// TO USE:
// Copy the contents of this text file
// into a text file and remane it
// (your scenario name)data.txt
// If you want to add other objects,
// add them below the custom objects
// here.  The objects you then write
// will replace the objects of this
// new base.

beginscendatascript;

// FLOOR TYPES
// A Blades of Avernum scenario can have up to 256 floor types.

// begin cave floors
begindefinefloor 0; // this floor gets imported for some basic floors
	fl_name = "Cave Floor";
	fl_which_sheet = 700;
	fl_which_icon = 0;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 0;
	fl_is_ground = 1;
	fl_shortcut_key = 6;

begindefinefloor 1;
	fl_which_icon = 1;
	fl_ed_which_icon = 1;
	fl_shortcut_key = -1;
begindefinefloor 2;
	fl_which_icon = 2;
	fl_ed_which_icon = 2;
begindefinefloor 3;
	fl_which_icon = 3;
	fl_ed_which_icon = 3;

begindefinefloor 4;
	fl_name = "Rough Stone Floor";
	fl_which_icon = 4;
	fl_ed_which_icon = 4;
	fl_is_ground = 0;
	fl_is_rough = 1;
	fl_out_fight_town_used = 1001;
begindefinefloor 5;
	fl_which_icon = 5;
	fl_ed_which_icon = 5;
begindefinefloor 6;
	fl_which_icon = 6;
	fl_ed_which_icon = 6;
begindefinefloor 7;
	fl_which_icon = 7;
	fl_ed_which_icon = 7;

begindefinefloor 8;
	fl_name = "Volcanic Floor";
	fl_which_icon = 8;
	fl_ed_which_icon = 8;
	fl_is_rough = 0;
	fl_out_fight_town_used = 1008;
begindefinefloor 9;
	fl_which_icon = 9;
	fl_ed_which_icon = 9;
begindefinefloor 10;
	fl_which_sheet = 701;
	fl_which_icon = 0;
	fl_ed_which_icon = 10;

// cave/rough floors
begindefinefloor 11;
	import = 4;
	fl_which_sheet = 701;
	fl_which_icon = 1;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 11;
begindefinefloor 12;
	fl_which_icon = 2;
	fl_ed_which_icon = 12;
begindefinefloor 13;
	fl_which_icon = 3;
	fl_ed_which_icon = 13;
begindefinefloor 14;
	fl_which_icon = 4;
	fl_ed_which_icon = 14;
begindefinefloor 15;
	fl_which_icon = 5;
	fl_ed_which_icon = 15;
begindefinefloor 16;
	fl_which_icon = 6;
	fl_ed_which_icon = 16;
begindefinefloor 17;
	fl_which_icon = 7;
	fl_ed_which_icon = 17;
begindefinefloor 18;
	fl_which_icon = 8;
	fl_ed_which_icon = 18;
begindefinefloor 19;
	fl_which_icon = 9;
	fl_ed_which_icon = 19;
begindefinefloor 20;
	fl_which_sheet = 702;
	fl_which_icon = 0;
	fl_ed_which_icon = 20;
begindefinefloor 21;
	fl_which_icon = 1;
	fl_ed_which_icon = 21;
begindefinefloor 22;
	fl_which_icon = 2;
	fl_ed_which_icon = 22;

// cave water
begindefinefloor 23;
	// imported for water later
	clear;
	fl_name = "Water";
	fl_which_sheet = 702;
	fl_which_icon = 3;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 23;
	fl_is_water = 1;
	fl_shortcut_key = 22;
	fl_blocked = 1;
	fl_fly_over = 1;
	fl_out_fight_town_used = 1007;
	fl_shimmers = 2;
begindefinefloor 24;
	fl_which_icon = 4;
	fl_ed_which_icon = 24;
	fl_shortcut_key = -1;
begindefinefloor 25;
	fl_which_icon = 5;
	fl_ed_which_icon = 25;
begindefinefloor 26;
	fl_which_icon = 6;
	fl_ed_which_icon = 26;
begindefinefloor 27;
	fl_which_icon = 7;
	fl_ed_which_icon = 27;
begindefinefloor 28;
	fl_which_icon = 8;
	fl_ed_which_icon = 28;
begindefinefloor 29;
	fl_which_icon = 9;
	fl_ed_which_icon = 29;
begindefinefloor 30;
	fl_which_sheet = 703;
	fl_which_icon = 0;
	fl_ed_which_icon = 30;
begindefinefloor 31;
	fl_which_icon = 1;
	fl_ed_which_icon = 31;
begindefinefloor 32;
	fl_which_icon = 2;
	fl_ed_which_icon = 32;
begindefinefloor 33;
	fl_which_icon = 3;
	fl_ed_which_icon = 33;
begindefinefloor 34;
	fl_which_icon = 4;
	fl_ed_which_icon = 34;
begindefinefloor 35;
	fl_which_icon = 5;
	fl_ed_which_icon = 35;
begindefinefloor 36;
	fl_which_icon = 6;
	fl_ed_which_icon = 36;

// begin surface grass/desert
begindefinefloor 37;
	import = 0;
	fl_name = "Ground";
	fl_which_sheet = 780;
	fl_ed_which_sheet = 688;
	fl_out_fight_town_used = 1010;
begindefinefloor 38;
	fl_which_icon = 1;
	fl_ed_which_icon = 1;
	fl_shortcut_key = -1;
begindefinefloor 39;
	fl_which_icon = 2;
	fl_ed_which_icon = 2;
begindefinefloor 40;
	fl_which_icon = 3;
	fl_ed_which_icon = 3;
begindefinefloor 41;
	fl_name = "Dry Ground";
	fl_which_icon = 4;
	fl_ed_which_icon = 4;
	fl_is_ground = 0;
	fl_is_rough = 1;
	fl_out_fight_town_used = 1017;
begindefinefloor 42;
	fl_which_icon = 5;
	fl_ed_which_icon = 5;
begindefinefloor 43;
	fl_which_icon = 6;
	fl_ed_which_icon = 6;
begindefinefloor 44;
	fl_which_icon = 7;
	fl_ed_which_icon = 7;
begindefinefloor 45;
	fl_which_sheet = 781;
	fl_which_icon = 1;
	fl_ed_which_icon = 11;
begindefinefloor 46;
	fl_which_icon = 2;
	fl_ed_which_icon = 12;
begindefinefloor 47;
	fl_which_icon = 3;
	fl_ed_which_icon = 13;
begindefinefloor 48;
	fl_which_icon = 4;
	fl_ed_which_icon = 14;
begindefinefloor 49;
	fl_which_icon = 5;
	fl_ed_which_icon = 15;
begindefinefloor 50;
	fl_which_icon = 6;
	fl_ed_which_icon = 16;
begindefinefloor 51;
	fl_which_icon = 7;
	fl_ed_which_icon = 17;
begindefinefloor 52;
	fl_which_icon = 8;
	fl_ed_which_icon = 18;
begindefinefloor 53;
	fl_which_icon = 9;
	fl_ed_which_icon = 19;
begindefinefloor 54;
	fl_which_sheet = 782;
	fl_which_icon = 0;
	fl_ed_which_icon = 20;
begindefinefloor 55;
	fl_which_icon = 1;
	fl_ed_which_icon = 21;
begindefinefloor 56;
	fl_which_icon = 2;
	fl_ed_which_icon = 22;

// surface water
begindefinefloor 57;
	import = 23;
	fl_name = "Water";
	fl_which_sheet = 782;
	fl_which_icon = 3;
	fl_ed_which_sheet = 688;
	fl_ed_which_icon = 23;
	fl_out_fight_town_used = 1016;
begindefinefloor 58;
	fl_which_icon = 4;
	fl_ed_which_icon = 24;
	fl_shortcut_key = -1;
begindefinefloor 59;
	fl_which_icon = 5;
	fl_ed_which_icon = 25;
begindefinefloor 60;
	fl_which_icon = 6;
	fl_ed_which_icon = 26;
begindefinefloor 61;
	fl_which_icon = 7;
	fl_ed_which_icon = 27;
begindefinefloor 62;
	fl_which_icon = 8;
	fl_ed_which_icon = 28;
begindefinefloor 63;
	fl_which_icon = 9;
	fl_ed_which_icon = 29;
begindefinefloor 64;
	fl_which_sheet = 783;
	fl_which_icon = 0;
	fl_ed_which_icon = 30;
begindefinefloor 65;
	fl_which_icon = 1;
	fl_ed_which_icon = 31;
begindefinefloor 66;
	fl_which_icon = 2;
	fl_ed_which_icon = 32;
begindefinefloor 67;
	fl_which_icon = 3;
	fl_ed_which_icon = 33;
begindefinefloor 68;
	fl_which_icon = 4;
	fl_ed_which_icon = 34;
begindefinefloor 69;
	fl_which_icon = 5;
	fl_ed_which_icon = 35;
begindefinefloor 70;
	fl_which_icon = 6;
	fl_ed_which_icon = 36;

	// STATIONARY WATER

begindefinefloor 71;
	import = 23;
begindefinefloor 72;
	import = 24;
begindefinefloor 73;
	import = 57;
begindefinefloor 74;
	import = 58;

// Mixed out floors
begindefinefloor 75;
	// imported later for a generic blocked floor
	clear;
	fl_name = "Pit";
	fl_which_sheet = 704;
	fl_which_icon = 3;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 43;
	fl_blocked = 1;
	fl_fly_over = 1;
	fl_is_water = 1;

begindefinefloor 76;
	import = 0;
	fl_name = "Dirt";
	fl_which_sheet = 780;
	fl_which_icon = 8;
	fl_ed_which_sheet = 688;
	fl_ed_which_icon = 8;
	fl_shortcut_key = -1;
	fl_out_fight_town_used = 1021;
	fl_is_rough = 1;
	fl_icon_adjust = 16;
begindefinefloor 77;
	fl_which_icon = 9;
	fl_ed_which_icon = 9;
begindefinefloor 78;
	fl_which_sheet = 781;
	fl_which_icon = 0;
	fl_ed_which_icon = 10;

	// DYING GRASS

begindefinefloor 79;
	import = 76;
	fl_name = "Dying Grass";
	fl_icon_adjust = 282;
begindefinefloor 80;
	import = 76;
	fl_name = "Dying Grass";
	fl_which_sheet = 751;
	fl_which_icon = 5;
	fl_ed_which_sheet = 684;
	fl_ed_which_icon = 15;

	// SWAMPS

begindefinefloor 81;
	clear;
	fl_name = "Cave Swamp";
	fl_which_sheet = 704;
	fl_which_icon = 4;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 44;
	fl_step_sound = 55;
	fl_out_fight_town_used = 1006;
	fl_special_property = 4;
	fl_special_strength = 3;
begindefinefloor 82;
	fl_name = "Rough Cave Swamp";
	fl_which_icon = 5;
	fl_ed_which_icon = 45;
	fl_is_rough = 1;
	fl_special_property = 5;
	fl_special_strength = 3;
begindefinefloor 83;
	fl_name = "Grassy Swamp";
	fl_which_sheet = 783;
	fl_which_icon = 8;
	fl_ed_which_sheet = 688;
	fl_ed_which_icon = 38;
	fl_is_ground = 1;
	fl_out_fight_town_used = 1015;
	fl_special_property = 4;
	fl_special_strength = 3;
begindefinefloor 84;
	fl_name = "Dry Ground Swamp";
	fl_is_ground = 0;
	fl_is_rough = 1;
	fl_which_icon = 9;
	fl_ed_which_icon = 39;
	fl_out_fight_town_used = 1019;
	fl_special_property = 5;
	fl_special_strength = 3;
begindefinefloor 85;
        import = 77;
	fl_name = "Dirt Swamp";
        fl_which_sheet = 751;
        fl_which_icon = 6;
        fl_ed_which_sheet = 684;
        fl_ed_which_icon = 16;

	// LAVA

begindefinefloor 86;
	clear;
	fl_name = "Lava";
	fl_which_sheet = 713;
	fl_which_icon = 0;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 39;
	fl_special_property = 1;
	fl_special_strength = 50;
	fl_out_fight_town_used = 1009;
	fl_is_rough = 1;
	fl_anim_steps = 4;
begindefinefloor 87; // Fake lava! does no damage
	fl_special_property = 0;
begindefinefloor 88;
	import = 86;
	fl_name = "Ice";
	fl_which_sheet = 752;
	fl_which_icon = 0;
	fl_ed_which_sheet = 684;
	fl_ed_which_icon = 20;
	fl_anim_steps = 4;
	fl_special_property = 2;
begindefinefloor 89; // Fake ice! does no damage
	fl_special_property = 0;

	// ODD CAVE FLOORS

begindefinefloor 90;
	clear;
	fl_name = "Cave Floor";
	fl_which_sheet = 704;
	fl_which_icon = 6;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 46;
	fl_out_fight_town_used = 1022;
begindefinefloor 91;
	fl_which_icon = 7;
	fl_ed_which_icon = 47;
begindefinefloor 92;
	clear;
	fl_name = "Cave Floor";
	fl_which_sheet = 704;
	fl_which_icon = 6;
        fl_ed_which_sheet = 684;
        fl_ed_which_icon = 99;
	fl_out_fight_town_used = 1022;
	fl_icon_adjust = 593;
begindefinefloor 93;
	fl_which_icon = 7;
        fl_ed_which_sheet = 684;
        fl_ed_which_icon = 99;
begindefinefloor 94;
        import = 90;
        fl_which_sheet = 759;
        fl_which_icon = 9;
        fl_ed_which_sheet = 684;
        fl_ed_which_icon = 99;
begindefinefloor 95;
        import = 90;
	fl_blocked = 1;
        fl_which_sheet = 759;
        fl_which_icon = 8;
        fl_ed_which_sheet = 684;
        fl_ed_which_icon = 98;

	// CROPS

begindefinefloor 96;
	import = 90;
	fl_name = "Crops";
	fl_which_sheet = 706;
	fl_which_icon = 0;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 60;
	fl_out_fight_town_used = 1000;
begindefinefloor 97;
	fl_which_icon = 1;
	fl_ed_which_icon = 61;
begindefinefloor 98;
	fl_name = "Crops";
	fl_which_sheet = 795;
	fl_which_icon = 7;
	fl_ed_which_sheet = 689;
	fl_ed_which_icon = 57;
	fl_out_fight_town_used = 1010;
begindefinefloor 99;
	fl_which_icon = 8;
	fl_ed_which_icon = 58;
begindefinefloor 100;
	fl_which_sheet = 789;
	fl_which_icon = 6;
	fl_ed_which_sheet = 688;
	fl_ed_which_icon = 96;
	fl_out_fight_town_used = 1010;
begindefinefloor 101;
	fl_which_icon = 7;
	fl_ed_which_icon = 97;

	// DOMESTIC FLOORS

begindefinefloor 102;
	clear;
	fl_name = "Floor";
	fl_which_sheet = 704;
	fl_which_icon = 8;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 48;
	fl_shortcut_key = 5;
	fl_is_floor = 1;
	fl_is_rough = 1;
	fl_out_fight_town_used = 1024;
begindefinefloor 103;
	fl_icon_adjust = 96;
begindefinefloor 104;
	fl_which_icon = 9;
	fl_ed_which_icon = 49;
	fl_shortcut_key = -1;
	fl_icon_adjust = 0;
begindefinefloor 105;
	fl_which_sheet = 705;
	fl_which_icon = 6;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 56;
begindefinefloor 106;
	fl_which_icon = 7;
	fl_ed_which_icon = 57;
begindefinefloor 107;
	fl_name = "Floor";
	fl_which_sheet = 706;
	fl_which_icon = 2;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 62;
	fl_icon_adjust = 65;
begindefinefloor 108;
	import = 106;
	fl_name = "Wooden Floor";
	fl_which_icon = 8;
	fl_ed_which_icon = 58;
begindefinefloor 109;
	fl_icon_adjust = 24;
begindefinefloor 110;
	fl_which_sheet = 709;
	fl_which_icon = 4;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 94;
begindefinefloor 111;
	fl_which_sheet = 704;
	fl_which_icon = 2;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 82;
	fl_icon_adjust = 0;
begindefinefloor 112;
	fl_which_sheet = 704;
	fl_which_icon = 1;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 81;
begindefinefloor 113;
	clear;
	fl_name = "Red Floor";
	fl_which_sheet = 751;
	fl_which_icon = 7;
	fl_ed_which_sheet = 684;
	fl_ed_which_icon = 17;
	fl_is_rough = 1;
begindefinefloor 114;
	fl_name = "Blue Floor";
	fl_icon_adjust = 33;
begindefinefloor 115;
	fl_name = "Carpet on Floor";
	fl_which_sheet = 709;
	fl_which_icon = 2;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 92;
	fl_icon_adjust = 0;
begindefinefloor 116;
	fl_name = "Resplendent Tile";
	fl_icon_adjust = 120;
begindefinefloor 117;
	fl_name = "Carpet on Floor";
	fl_which_sheet = 773;
	fl_which_icon = 9;
	fl_ed_which_sheet = 687;
	fl_ed_which_icon = 39;
	fl_icon_adjust = 0;

	// CARPETS

begindefinefloor 118;
	clear;
	fl_name = "Purple Carpet";
	fl_which_sheet = 707;
	fl_which_icon = 3;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 73;
	fl_is_floor = 1;
	fl_out_fight_town_used = 1024;
begindefinefloor 119;
	fl_which_sheet = 707;
	fl_which_icon = 4;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 74;
begindefinefloor 120;
	fl_which_sheet = 709;
	fl_which_icon = 1;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 91;
begindefinefloor 121;
	fl_which_sheet = 709;
	fl_which_icon = 0;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 90;
	fl_icon_adjust = 0;
begindefinefloor 122;
	fl_name = "Green Carpet";
	import = 118;
	fl_icon_adjust = 18;
begindefinefloor 123;
	import = 119;
	fl_icon_adjust = 18;
begindefinefloor 124;
	import = 120;
	fl_icon_adjust = 18;
begindefinefloor 125;
	import = 121;
	fl_icon_adjust = 18;
begindefinefloor 126;
	fl_name = "Blue Carpet";
	import = 118;
	fl_icon_adjust = 4;
begindefinefloor 127;
	import = 119;
	fl_icon_adjust = 4;
begindefinefloor 128;
	import = 120;
	fl_icon_adjust = 4;
begindefinefloor 129;
	import = 121;
	fl_icon_adjust = 4;

	// MOSAICS

// mosaic 1 & 2
begindefinefloor 130;
	clear;
	fl_name = "Mosaic Floor";
	fl_which_sheet = 705;
	fl_which_icon = 0;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 50;
	fl_is_floor = 1;
	fl_out_fight_town_used = 1024;
begindefinefloor 131;
	fl_which_icon = 1;
	fl_ed_which_icon = 51;
begindefinefloor 132;
	fl_which_icon = 2;
	fl_ed_which_icon = 52;
begindefinefloor 133;
	fl_which_icon = 3;
	fl_ed_which_icon = 53;
begindefinefloor 134;
	fl_which_icon = 4;
	fl_ed_which_icon = 54;
begindefinefloor 135;
	fl_which_icon = 5;
	fl_ed_which_icon = 55;
begindefinefloor 136;
	fl_which_sheet = 752;
	fl_which_icon = 4;
	fl_ed_which_sheet = 684;
	fl_ed_which_icon = 24;
begindefinefloor 137;
	fl_which_icon = 5;
	fl_ed_which_icon = 25;
begindefinefloor 138;
	fl_which_icon = 6;
	fl_ed_which_icon = 26;
begindefinefloor 139;
	fl_which_icon = 7;
	fl_ed_which_icon = 27;
begindefinefloor 140;
	fl_which_icon = 8;
	fl_ed_which_icon = 28;
begindefinefloor 141;
	fl_which_icon = 9;
	fl_ed_which_icon = 29;

	// OTHER FLOORS

begindefinefloor 142;
	clear;
	fl_name = "Walkway";
	fl_which_sheet = 715;
	fl_which_icon = 9;
	fl_ed_which_sheet = 681;
	fl_ed_which_icon = 59;
	fl_shortcut_key = 20;
	fl_out_fight_town_used = 1025;
	fl_is_rough = 1;
	fl_icon_adjust = 16;
begindefinefloor 143;
	clear;
	fl_name = "Blackened Stone";
	fl_which_sheet = 773;
	fl_which_icon = 2;
	fl_ed_which_sheet = 687;
	fl_ed_which_icon = 32;
	fl_out_fight_town_used = 1023;

	// V-Floors

begindefinefloor 144;
	import = 107;
	fl_name = "Vahnatai Floor";
	fl_icon_adjust = 0;
begindefinefloor 145;
	fl_which_sheet = 761;
	fl_which_icon = 4;
	fl_ed_which_sheet = 686;
	fl_ed_which_icon = 14;
begindefinefloor 146;
	fl_which_icon = 9;
	fl_ed_which_icon = 19;
begindefinefloor 147;
	fl_which_icon = 5;
	fl_ed_which_icon = 18;
	fl_anim_steps = 4;

// Blocked floors ... monsters won't enter these
begindefinefloor 148;
	import = 0;
	fl_shortcut_key = -1;
	fl_special_property = 6;
begindefinefloor 149;
	import = 4;
	fl_special_property = 6;
begindefinefloor 150;
	import = 37;
	fl_special_property = 6;
	fl_shortcut_key = -1;
begindefinefloor 151;
	import = 41;
	fl_special_property = 6;
begindefinefloor 152;
	import = 102;
	fl_special_property = 6;
	fl_shortcut_key = -1;

// This special terrain is nothingness. DO NOT change it. It represents floor that the
// player will never step on or see (like inside walls).
begindefinefloor 255;
	clear;
	fl_name = "Solid Stone";
	fl_which_sheet = 704;
	fl_which_icon = 3;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 43;
	fl_blocked = 1;
	fl_shortcut_key = 1;

// ============
// MONSTERS
// ============

begindefinecreature 6;
	clear;
	cr_name = "Soldier";
	cr_level = 7;
	cr_start_item 0 = 26;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 27;
	cr_start_item_chance 1 = 10;
	cr_start_item 2 = 66;
	cr_start_item_chance 2 = 100;
	cr_start_item 3 = 67;
	cr_start_item_chance 3 = 10;
	cr_start_item 4 = 137;
	cr_start_item_chance 4 = 30;
	cr_start_item 5 = 138;
	cr_start_item_chance 5 = 10;
	cr_start_item 6 = 114;
	cr_start_item_chance 6 = 35;
	cr_start_item 7 = 220;
	cr_start_item_chance 7 = 6;
	cr_default_attitude = 1;
	cr_which_sheet = 1508;
	//cr_icon_adjust = 16;
	cr_small_or_large_template = 1;
	cr_icon_adjust = 21;

begindefinecreature 7;
	clear;
	cr_name = "Soldier";
	cr_level = 7;
	cr_start_item 0 = 26;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 27;
	cr_start_item_chance 1 = 10;
	cr_start_item 2 = 66;
	cr_start_item_chance 2 = 100;
	cr_start_item 3 = 67;
	cr_start_item_chance 3 = 10;
	cr_start_item 4 = 137;
	cr_start_item_chance 4 = 30;
	cr_start_item 5 = 138;
	cr_start_item_chance 5 = 10;
	cr_start_item 6 = 114;
	cr_start_item_chance 6 = 35;
	cr_start_item 7 = 220;
	cr_start_item_chance 7 = 6;
	cr_default_attitude = 1;
	cr_which_sheet = 1508;
	//cr_icon_adjust = 16;
	cr_small_or_large_template = 1;
	cr_icon_adjust = 20;

begindefinecreature 8;
	clear;
	cr_name = "Archer";
	cr_level = 8;
	cr_what_stat_adjust 0 = 6;
	cr_amount_stat_adjust 0 = 2;
	cr_start_item 0 = 26;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 31;
	cr_start_item_chance 1 = 10;
	cr_start_item 2 = 51;
	cr_start_item_chance 2 = 100;
	cr_start_item 3 = 91;
	cr_start_item_chance 3 = 100;
	cr_start_item 4 = 92;
	cr_start_item_chance 4 = 10;
	cr_start_item 5 = 101;
	cr_start_item_chance 5 = 100;
	cr_start_item 6 = 101;
	cr_start_item_chance 6 = 100;
	cr_start_item 7 = 2;
	cr_start_item_chance 7 = 20;
	cr_default_attitude = 1;
	cr_which_sheet = 1511;
	cr_small_or_large_template = 1;
	cr_default_strategy = 1;
	cr_icon_adjust = 21;

begindefinecreature 83;
	clear;
	cr_name = "Elder aranea";
	cr_level = 20;
	cr_what_stat_adjust 0 = 25;
	cr_amount_stat_adjust 0 = 8;
	cr_what_stat_adjust 1 = 12;
	cr_amount_stat_adjust 1 = 16;
	cr_what_stat_adjust 2 = 11;
	cr_amount_stat_adjust 2 = 16;
	cr_what_stat_adjust 3 = 26;
	cr_amount_stat_adjust 3 = 8;
	cr_what_stat_adjust 4 = 9;
	cr_amount_stat_adjust 4 = 8;
	cr_start_item 0 = 373;
	cr_start_item_chance 0 = 100;
	cr_default_attitude = 4;
	cr_species = 9;
	cr_which_sheet = 1568;
	cr_attack_1 = 6;
	cr_attack_1_type = 2;
	cr_ap_bonus = 0;
	cr_immunities 2 = 50;
	cr_default_strategy = 1;
begindefinecreature 100;
	clear;
	cr_name = "Slith Avatar";
	cr_level = 25;
	cr_default_attitude = 4;
	cr_species = 3;
	cr_which_sheet = 1532;
	cr_attack_2 = 6;
	cr_attack_3 = 6;
	cr_attack_23_type = 1;
	cr_immunities 0 = 50;
	cr_immunities 1 = 50;
	cr_special_abil = 10;
	cr_icon_adjust = 2;
begindefinecreature 135;
	clear;
	cr_name = "Augmented Giant";
	cr_level = 35;
	cr_what_stat_adjust 0 = 29;
	cr_amount_stat_adjust 0 = 6;
	cr_what_stat_adjust 1 = 8;
	cr_amount_stat_adjust 1 = 6;
	cr_special_abil = 16;
	cr_start_item 0 = 2;
	cr_start_item_chance 0 = 80;
	cr_start_item 1 = 3;
	cr_start_item_chance 1 = 80;
	cr_start_item 2 = 192;
	cr_start_item_chance 2 = 80;
	cr_start_item 3 = 204;
	cr_start_item_chance 3 = 8;
	cr_start_item 4 = 115;
	cr_start_item_chance 4 = 5;
	cr_start_item 5 = 225;
	cr_start_item_chance 5 = 5;
	cr_default_attitude = 4;
	cr_species = 4;
	cr_natural_armor = 10;
	cr_which_sheet = 1613;
	cr_which_sheet_upper = 1614;
	cr_attack_2 = 6;
	cr_attack_3 = 6;
	cr_attack_23_type = 4;
	cr_immunities 4 = 100;
	cr_summon_class = 6;
	cr_icon_adjust = 1000;

begindefinecreature 175;
	clear;
	cr_name = "General Byron";
	cr_level = 40;
	cr_what_stat_adjust 0 = 26;
	cr_amount_stat_adjust 0 = 6;
	cr_what_stat_adjust 1 = 10;
	cr_amount_stat_adjust 1 = 2;
	cr_what_stat_adjust 2 = 21;
	cr_amount_stat_adjust 2 = 4;
	cr_start_item 0 = 41;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 132;
	cr_start_item_chance 1 = 100;
	cr_start_item 2 = 114;
	cr_start_item_chance 2 = 100;
	cr_start_item 3 = 57;
	cr_start_item_chance 3 = 100;
	cr_start_item 4 = 8;
	cr_start_item_chance 4 = 50;
	cr_start_item 5 = 3;
	cr_start_item_chance 5 = 80;
	cr_start_item 6 = 272;
	cr_start_item_chance 6 = 10;
	cr_start_item 7 = 233;
	cr_start_item_chance 7 = 20;
	cr_default_attitude = 4;
	cr_which_sheet = 1610;
	cr_small_or_large_template = 1;
	cr_icon_adjust = 21;

begindefinecreature 234;
	clear;
	cr_default_script = "";
	cr_name = "Slime Pool";
	cr_hp_bonus = 991;
	cr_which_sheet = 1533;
	cr_level = 1;
        cr_species = 10;
	cr_special_abil = 37;
	cr_immunities 1 = 100;
	cr_immunities 2 = 50;
	cr_immunities 3 = 100;
	cr_immunities 4 = 100;
	cr_immunities 5 = 75;
begindefinecreature 235;
	import = 18;
	cr_name = "King";
	cr_which_sheet = 1572;

// ============
// TERRAIN
// ============

begindefineterrain 161;
	import = 141;
	te_name = "Walkway";
	te_which_sheet = 715;
	te_which_icon = 5;
	te_ed_which_sheet = 681;
	te_ed_which_icon = 58;
	te_out_fight_town_used = 1025;
	te_icon_adjust = 16;
begindefineterrain 162;
	te_which_icon = 6;
	te_ed_which_icon = 56;
begindefineterrain 163;
	te_which_icon = 7;
	te_ed_which_icon = 55;
begindefineterrain 164;
	te_which_icon = 8;
	te_ed_which_icon = 57;
begindefineterrain 165;
	te_which_icon = 9;
	te_draw_on_automap = 1;
	te_ed_which_icon = 59;
	te_suppress_floor = 1;

begindefineterrain 175;
	clear;
	te_name = "Wall Hanging";
	te_which_sheet = 742;
	te_which_icon = 1;
	te_ed_which_sheet = 683;
	te_ed_which_icon = 99;
	te_icon_offset_x = 18;
	te_icon_offset_y = -18;
	te_icon_adjust = 21;
begindefineterrain 176;
	clear;
	te_name = "Wall Hanging";
	te_which_sheet = 749;
	te_which_icon = 9;
	te_ed_which_sheet = 683;
	te_ed_which_icon = 21;
	te_icon_offset_x = -18;
	te_icon_offset_y = -18;
	te_icon_adjust = 21;

begindefineterrain 183;
	import = 179;
	te_name = "Painting";
	te_which_sheet = 749;
	te_which_icon = 8;
	te_ed_which_sheet = 683;
	te_ed_which_icon = 22;
	te_icon_offset_x = -24;
	te_icon_adjust = 21;

begindefineterrain 221;
	import = 220;
	te_which_sheet = 789;
	te_which_icon = 4;
	te_ed_which_sheet = 688;
	te_ed_which_icon = 94;
	te_icon_adjust = 16;
begindefineterrain 222;
	te_which_icon = 5;
	te_ed_which_icon = 95;

begindefineterrain 232;
	import = 147;
	te_name = "Pillar";
	te_which_sheet = 722;
	te_which_icon = 8;
	te_ed_which_sheet = 682;
	te_ed_which_icon = 28;
	te_second_icon = 9;
	te_draw_on_automap = 1;
	te_icon_adjust = 16;

begindefineterrain 238;
	import = 237;
	te_which_sheet = 788;
	te_which_icon = 5;
	te_ed_which_sheet = 688;
	te_ed_which_icon = 85;
	te_icon_adjust = 16;
begindefineterrain 239;
	te_which_icon = 6;
	te_ed_which_icon = 86;

begindefineterrain 272;
	import = 125;
	te_name = "Wheel With Chain";
	te_which_sheet = 758;
	te_which_icon = 0;
	te_ed_which_sheet = 684;
	te_ed_which_icon = 80;
	te_icon_adjust = 16;

begindefineterrain 297; 
	import = 141;
	te_name = "Dock";
	te_which_sheet = 742;
	te_which_icon = 8;
	te_ed_which_sheet = 684;
	te_ed_which_icon = 12;
	te_is_bridge = 1;
	te_is_road = 1;
	te_draw_on_automap = 1;

begindefineterrain 355;
	import = 219;
	te_name = "Table";
	te_which_sheet = 761;
	te_which_icon = 0;
	te_ed_which_sheet = 686;
	te_ed_which_icon = 10;		
	te_height_adj_pixels = 10;
	te_icon_adjust = 665;

begindefineterrain 358;
	import = 202;
	te_name = "Barrel";
	te_which_sheet = 707;
	te_which_icon = 5;
	te_ed_which_sheet = 680;
	te_ed_which_icon = 75;
begindefineterrain 359;
	te_name = "Crate";
	te_which_icon = 6;
	te_ed_which_icon = 76;

begindefineterrain 365;
	import = 147;
	te_name = "Statue";
	te_which_sheet = 762;
	te_which_icon = 6;
	te_ed_which_sheet = 686;
	te_ed_which_icon = 26;
	te_second_icon = 7;
	te_second_icon_offset_y = -55;
	te_icon_adjust = 21;
begindefineterrain 366;
	te_which_icon = 8;
	te_ed_which_icon = 28;
	te_second_icon = 9;
begindefineterrain 367;
	import = 125;
	te_name = "Ruined Statue";
	te_which_sheet = 769;
	te_which_icon = 0;
	te_ed_which_sheet = 686;
	te_ed_which_icon = 90;
begindefineterrain 368;
	te_which_icon = 2;
	te_ed_which_icon = 92;

begindefineterrain 390;
	import = 293;
	te_name = "Slope";
	te_which_sheet = 744;
	te_which_icon = 5;

begindefineterrain 391;
	import = 294;
	te_name = "Slope";
	te_which_sheet = 744;
	te_which_icon = 6;

begindefineterrain 392;
	import = 295;
	te_name = "Slope";
	te_which_sheet = 744;
	te_which_icon = 7;

begindefineterrain 393;
	import = 296;
	te_name = "Slope";
	te_which_sheet = 744;
	te_which_icon = 8;

begindefineterrain 397;
	import = 396;
	te_name = "Found Supply Cache";
	te_which_sheet = 787;
	te_which_icon = 0;
	te_ed_which_sheet = 688;
	te_ed_which_icon = 70;

begindefineterrain 422;
	import = 125;
	te_which_sheet = 703;
	te_which_icon = 8;
	te_ed_which_sheet = 680;
	te_ed_which_icon = 38;

begindefineterrain 423;
	import = 96;
	te_which_sheet = 707;
	te_which_icon = 9;

begindefineterrain 424;
	import = 125;
	te_which_sheet = 717;
	te_which_icon = 7;
	te_ed_which_sheet = 681;
	te_ed_which_icon = 77;

begindefineterrain 425;
	import = 141;
	te_name = "Grave";
	te_which_sheet = 720;
	te_which_icon = 2;
	te_ed_which_sheet = 682;
	te_ed_which_icon = 92;

begindefineterrain 426;
	te_which_sheet = 720;
	te_which_icon = 3;
	te_ed_which_sheet = 682;
	te_ed_which_icon = 93;

begindefineterrain 427;
	import = 280;
	te_name = "Tombstone";
	te_which_sheet = 720;
	te_which_icon = 4;
	te_ed_which_sheet = 682;
	te_ed_which_icon = 94;

begindefineterrain 428;
	import = 280;
	te_which_sheet = 720;
	te_which_icon = 5;
	te_ed_which_sheet = 682;
	te_ed_which_icon = 95;

begindefineterrain 429;
	import = 125;
	te_name = "Keg";
	te_which_sheet = 720;
	te_which_icon = 6;
	te_ed_which_sheet = 682;
	te_ed_which_icon = 96;

begindefineterrain 430;
	te_which_sheet = 720;
	te_which_icon = 7;
	te_ed_which_sheet = 682;
	te_ed_which_icon = 97;

begindefineterrain 431;
	te_name = "Unlit Bonfire";
	te_which_sheet = 722;
	te_which_icon = 5;
	te_ed_which_sheet = 682;
	te_ed_which_icon = 25;

begindefineterrain 432;
	import = 282;
	te_which_sheet = 726;
	te_which_icon = 7;
	te_ed_which_sheet = 682;
	te_ed_which_icon = 67;

begindefineterrain 433;
	import = 219;
	te_which_sheet = 727;
	te_which_icon = 9;
	te_ed_which_sheet = 682;
	te_ed_which_icon = 79;

begindefineterrain 434;
	import = 261;
	te_name = "Amphorae";
	te_which_sheet = 728;
	te_which_icon = 1;
	te_ed_which_sheet = 682;
	te_ed_which_icon = 81;

begindefineterrain 435;
	import = 125;
	te_name = "Burial Spire";
	te_which_sheet = 728;
	te_which_icon = 6;
	te_ed_which_sheet = 682;
	te_ed_which_icon = 86;

begindefineterrain 436;
	import = 141;
	te_name = "Mine";
	te_which_sheet = 730;
	te_which_icon = 0;
	te_ed_which_sheet = 687;
	te_ed_which_icon = 10;
	te_swap_terrain = 437;
	te_default_script = "trap";

begindefineterrain 437;
	import = 141;
	te_name = "Destroyed Mine";
	te_which_sheet = 730;
	te_which_icon = 1;
	te_ed_which_sheet = 687;
	te_ed_which_icon = 11;

begindefineterrain 438;
	import = 436;
	te_which_sheet = 731;
	te_which_icon = 0;
	te_anim_steps = 3;
	te_ed_which_sheet = 687;
	te_ed_which_icon = 12;
	te_swap_terrain = 439;

begindefineterrain 439;
	import = 437;
	te_which_sheet = 731;
	te_which_icon = 3;
	te_ed_which_sheet = 687;
	te_ed_which_icon = 13;

begindefineterrain 440;
	import = 267;
	te_name = "Light";
	te_which_sheet = 732;
	te_which_icon = 0;
	te_ed_which_sheet = 687;
	te_ed_which_icon = 14;
	te_anim_steps = 3;
	te_light_radius = 4;

begindefineterrain 441;
	te_which_sheet = 732;
	te_which_icon = 3;
	te_ed_which_sheet = 687;
	te_ed_which_icon = 15;
	te_light_radius = 4;

begindefineterrain 442;
	import = 125;
	te_name = "Emblem";
	te_which_sheet = 743;
	te_which_icon = 7;
	te_ed_which_sheet = 683;
	te_ed_which_icon = 37;
	te_icon_adjust = 21;

begindefineterrain 443;
	import = 293;
	te_name = "Slope";
	te_which_sheet = 501;
	te_which_icon = 0;
	te_icon_adjust = 16;

begindefineterrain 444;
	import = 294;
	te_name = "Slope";
	te_which_sheet = 501;
	te_which_icon = 1;
	te_icon_adjust = 16;

begindefineterrain 445;
	import = 295;
	te_name = "Slope";
	te_which_sheet = 501;
	te_which_icon = 2;
	te_icon_adjust = 16;

begindefineterrain 446;
	import = 296;
	te_name = "Slope";
	te_which_sheet = 501;
	te_which_icon = 3;
	te_icon_adjust = 16;

begindefineterrain 447;
	import = 219;
	te_name = "End Table";
	te_which_sheet = 757;
	te_which_icon = 9;
	te_ed_which_sheet = 684;
	te_ed_which_icon = 79;

begindefineterrain 448;
	te_which_sheet = 759;
	te_which_icon = 6;
	te_ed_which_sheet = 684;
	te_ed_which_icon = 96;
	te_icon_adjust = 578;

begindefineterrain 449;
	te_which_sheet = 759;
	te_which_icon = 7;
	te_ed_which_sheet = 684;
	te_ed_which_icon = 97;

begindefineterrain 450;
	import = 304;
	te_name = "Building";
	te_which_sheet = 762;
	te_which_icon = 0;
	te_ed_which_sheet = 686;
	te_ed_which_icon = 20;

begindefineterrain 451;
	import = 125;
	te_name = "Barrier";
	te_which_sheet = 764;
	te_which_icon = 0;
	te_ed_which_sheet = 686;
	te_ed_which_icon = 42;
	te_anim_steps = 4;

begindefineterrain 452;
	import = 450;
	te_which_sheet = 768;
	te_which_icon = 2;
	te_ed_which_sheet = 686;
	te_ed_which_icon = 82;

begindefineterrain 453;
	import = 368;
	te_which_sheet = 769;
	te_which_icon = 3;
	te_ed_which_sheet = 686;
	te_ed_which_icon = 93;

begindefineterrain 454;
	import = 204;
	te_which_sheet = 786;
	te_which_icon = 6;
	te_ed_which_sheet = 688;
	te_ed_which_icon = 66;
	te_icon_adjust = 21;

begindefineterrain 455;
	te_which_sheet = 786;
	te_which_icon = 7;
	te_ed_which_sheet = 688;
	te_ed_which_icon = 67;

begindefineterrain 456;
	clear;
	te_name = "Hole";
	te_which_sheet = 787;
	te_which_icon = 0;
	te_ed_which_sheet = 688;
	te_ed_which_icon = 70;
	te_swap_terrain = 457;

begindefineterrain 457;
	clear;
	te_name = "Mound";
	te_which_sheet = 788;
	te_which_icon = 2;
	te_ed_which_sheet = 688;
	te_ed_which_icon = 82;
	te_swap_terrain = 456;

begindefineterrain 458;
	import = 450;
	te_which_sheet = 789;
	te_which_icon = 2;
	te_ed_which_sheet = 688;
	te_ed_which_icon = 92;

begindefineterrain 459;
	import = 405;
	te_which_sheet = 796;
	te_which_icon = 8;
	te_ed_which_sheet = 689;
	te_ed_which_icon = 68;

begindefineterrain 460;
	import = 219;
	te_name = "Table";
	te_which_sheet = 709;
	te_which_icon = 9;
	te_ed_which_sheet = 680;
	te_ed_which_icon = 99;
	te_special_property = 41;
	te_height_adj_pixels = 8;

begindefineterrain 461;
	import = 144;
	te_name = "Doorway";
	te_which_sheet = 727;
	te_which_icon = 2;
	te_ed_which_sheet = 690;
	te_ed_which_icon = 84;
	te_icon_offset_x = 18;
	te_icon_offset_y = -12;
begindefineterrain 462;
	te_which_icon = 8;
	te_ed_which_icon = 85;
	te_icon_offset_x = -18;
	te_icon_offset_y = -12;
begindefineterrain 463;
	te_which_icon = 2;
	te_ed_which_sheet = 690;
	te_ed_which_icon = 86;
	te_icon_offset_x = 0;
	te_icon_offset_y = 0;
begindefineterrain 464;
	te_name = "Open Doorway";
	te_which_sheet = 727;
	te_which_icon = 8;
	te_ed_which_sheet = 690;
	te_ed_which_icon = 87;

// --------
// ITEMS
// --------

begindefineitem 43;
	import = 42; 
	it_full_name = "Blessed Plate Mail";
	it_floor_which_sheet = 1037;
	it_floor_which_icon = 8;
	it_inventory_icon = 9;
	it_bonus = 20;
	it_protection = 48;
	it_encumbrance = 4;
	it_value = 5000;
	it_magic = 1;

begindefineitem 53;
	import = 52;
	it_name = "Short Sword";
	it_full_name = "Blessed Short Sword";
	it_floor_which_sheet = 1037;
	it_floor_which_icon = 0;
	it_inventory_icon = 1;
	it_damage_per_level = 5;
	it_bonus = 4;
	it_value = 500;
	it_magic = 1;

begindefineitem 73;
	import = 72;
	it_full_name = "Blessed Pike";
	it_floor_which_sheet = 1035;
	it_floor_which_icon = 8;
	it_inventory_icon = 9;
	it_variety = 2;
	it_damage_per_level = 7;
	it_bonus = 5;
	it_value = 900;
	it_magic = 1;

begindefineitem 132;
	import = 131;
	it_full_name = "Iron Large Shield";
	it_floor_which_sheet = 1030;
	it_floor_which_icon = 0;
	it_inventory_icon = 1;
	it_bonus = 2;
	it_protection = 12;
	it_value = 120;
begindefineitem 133;
	it_full_name = "Steel Large Shield";
	it_bonus = 4;
	it_protection = 12;
	it_value = 250;
begindefineitem 134;
	it_full_name = "Blessed Large Shield";
	it_bonus = 7;
	it_protection = 16;
	it_value = 750;
	it_magic = 1;

begindefineitem 232;
	import = 220;
	it_full_name = "Poison Elixir";
	it_floor_which_sheet = 1043;
	it_floor_which_icon = 5;
	it_inventory_icon = 4;
	it_ability_1 = 214;
	it_ability_str_1 = 25;
	it_value = 30;

begindefineitem 283;
	import = 282;
	it_full_name = "Wand of Ice";
	it_floor_which_sheet = 1006;
	it_floor_which_icon = 9;
	it_inventory_icon = 0;
	it_ability_1 = 106;
	it_ability_str_1 = 20;
	it_value = 70;

begindefineitem 286;
	import = 282;
	it_full_name = "Wand of Fire";
	it_floor_which_sheet = 1021;
	it_floor_which_icon = 1;
	it_inventory_icon = 2;
	it_icon_adjust = 128;
	it_charges = 5;
	it_ability_1 = 116;
	it_ability_str_1 = 20;
	it_value = 120;

begindefineitem 288;
	import = 282;
	it_full_name = "Wand of Forcecage";
	it_floor_which_sheet = 1006;
	it_floor_which_icon = 9;
	it_inventory_icon = 0;
	it_icon_adjust = 2;
	it_charges = 5;
	it_ability_1 = 115;
	it_ability_str_1 = 20;
	it_value = 110;

begindefineitem 290;
	import = 282;
	it_name = "Rod";
	it_full_name = "Rod of Arcana";
	it_floor_which_sheet = 1032;
	it_floor_which_icon = 8;
	it_inventory_icon = 9;
	it_charges = 3;
	it_ability_1 = 117;
	it_ability_str_1 = 20;
	it_value = 300;
	it_weight = 20;

begindefineitem 293;
	import = 282;
	it_floor_which_sheet = 1021;
	it_floor_which_icon = 1;
	it_inventory_icon = 2;
	it_icon_adjust = 133;
	it_name = "Rod";
	it_full_name = "Rod of Illusions";
	it_charges = 5;
	it_ability_1 = 108;
	it_ability_str_1 = 15;
	it_value = 120;
	it_weight = 20;

begindefineitem 302;
// imported for other necklaces
	clear;
	it_name = "Necklace";
	it_full_name = "Chill Charm";
	it_variety = 19;
	it_floor_which_sheet = 1021;
	it_floor_which_icon = 5;
	it_inventory_icon = 5;
	it_ability_1 = 55;
	it_ability_str_1 = 2;
	it_value = 1000;
	it_weight = 5;
	it_magic = 1;
begindefineitem 303;
	import = 302;
	it_full_name = "Warmth Charm";
	it_floor_which_icon = 3;
	it_inventory_icon = 3;
	it_ability_1 = 56;
	it_ability_str_1 = 2;
	it_value = 1000;
begindefineitem 307; // one found in rebellion
	import = 302;
	it_full_name = "War Charm";
	it_floor_which_sheet = 1021;
	it_floor_which_icon = 4;
	it_inventory_icon = 4;
	it_ability_1 = 22;
	it_ability_str_1 = 1;
	it_ability_2 = 24;
	it_ability_str_2 = 1;
	it_value = 1500;
begindefineitem 308;
	import = 302;
	it_full_name = "Freedom Charm";
	it_floor_which_sheet = 1041;
	it_floor_which_icon = 9;
	it_inventory_icon = 8;
	it_ability_1 = 58;
	it_ability_str_1 = 5;
	it_value = 1500;
begindefineitem 310;
	import = 302;
	it_full_name = "Knowledge Charm";
	it_floor_which_sheet = 1041;
	it_floor_which_icon = 6;
	it_inventory_icon = 6;
	it_ability_1 = 65;
	it_ability_str_1 = 5;
	it_ability_2 = 15;
	it_ability_str_2 = 2;
	it_value = 1800;

begindefineitem 337;
	clear;
	it_name = "Axe";
	it_full_name = "Cursed Axe";
	it_floor_which_sheet = 1038;
	it_floor_which_icon = 2;
	it_inventory_icon = 3;
	it_variety = 1;
	it_damage_per_level = 4;
	it_bonus = 0;
	it_weapon_skill_used = 4;
	it_value = 20;
	it_weight = 30;
	it_cursed = 1;

begindefineitem 351;
	clear;
	it_name = "Wavy Sword";
	it_full_name = "Alien Blade";
	it_variety = 2;
	it_damage_per_level = 7;
	it_bonus = 3;
	it_weapon_skill_used = 4;
	it_floor_which_sheet = 1025;
	it_floor_which_icon = 4;
	it_inventory_icon = 4;
	it_ability_1 = 72;
	it_ability_str_1 = 20;
	it_value = 6000;
	it_weight = 250;
	it_magic = 1;

begindefineitem 420;
	clear;
	it_full_name = "Bar of Gold";
	it_variety = 21;
	it_floor_which_sheet = 1038;
	it_floor_which_icon = 4;
	it_inventory_icon = 5;
	it_value = 500;
	it_weight = 100;
	it_identified = 1;

begindefineitem 445;
	clear;
	it_name = "Axe";
	it_full_name = "Cursed Axe";
	it_variety = 1;
	it_damage_per_level = 5;
	it_bonus = -3;
	it_weapon_skill_used = 4;
	it_floor_which_sheet = 1005;
	it_floor_which_icon = 1;
	it_inventory_icon = 2;
	it_value = 10;
	it_weight = 40;
	it_cursed = 1;
begindefineitem 446;
	it_full_name = "Crude Axe";
	it_damage_per_level = 6;
	it_bonus = 0;
	it_value = 60;
	it_cursed = 0;
begindefineitem 447;
	it_full_name = "Iron Axe";
	it_damage_per_level = 6;
	it_bonus = 1;
	it_value = 120;
	it_cursed = 0;
begindefineitem 448;
	it_full_name = "Steel Axe";
	it_damage_per_level = 6;
	it_bonus = 2;
	it_value = 360;
	it_cursed = 0;
begindefineitem 449;
	it_full_name = "Blessed Axe";
	it_damage_per_level = 7;
	it_bonus = 4;
	it_value = 3050;
	it_cursed = 0;
	it_magic = 1;

begindefineitem 450;
	clear;
	it_name = "Cudgel";
	it_full_name = "Cursed Cudgel";
	it_variety = 1;
	it_damage_per_level = 4;
	it_bonus = -3;
	it_weapon_skill_used = 0;
	it_floor_which_sheet = 1005;
	it_floor_which_icon = 3;
	it_inventory_icon = 4;
	it_value = 5;
	it_weight = 50;
	it_cursed = 1;
begindefineitem 451;
	it_full_name = "Crude Cudgel";
	it_damage_per_level = 5;
	it_bonus = 0;
	it_value = 40;
	it_cursed = 0;
begindefineitem 452;
	it_full_name = "Fine Cudgel";
	it_damage_per_level = 6;
	it_bonus = 1;
	it_value = 80;
	it_cursed = 0;
begindefineitem 453;
	it_full_name = "Blessed Cudgel";
	it_damage_per_level = 6;
	it_bonus = 2;
	it_value = 360;
	it_cursed = 0;
	it_magic = 1;
begindefineitem 454;
	import = 48;
	it_name = "Rapier";
	it_full_name = "Cursed Rapier";
	it_variety = 1;
	it_damage_per_level = 4;
	it_bonus = -3;
	it_floor_which_sheet = 1036;
	it_floor_which_icon = 8;
	it_inventory_icon = 9;
	it_value = 5;
	it_weight = 80;
	it_magic = 0;
	it_cursed = 1;
begindefineitem 455;
	it_name = "Rapier";
	it_full_name = "Crude Rapier";
	it_damage_per_level = 5;
	it_bonus = 0;
	it_value = 40;
	it_cursed = 0;
begindefineitem 456;
	it_name = "Rapier";
	it_full_name = "Iron Rapier";
	it_damage_per_level = 5;
	it_bonus = 1;
	it_value = 80;
begindefineitem 457;
	it_name = "Rapier";
	it_full_name = "Steel Rapier";
	it_damage_per_level = 5;
	it_bonus = 2;
	it_value = 240;
begindefineitem 458;
	it_name = "Rapier";
	it_full_name = "Blessed Rapier";
	it_damage_per_level = 6;
	it_bonus = 4;
	it_value = 1620;
	it_magic = 1;
begindefineitem 459;
	import = 68;
	it_name = "Tribal Spear";
	it_full_name = "Cursed Tribal Spear";
	it_floor_which_sheet = 1036;
	it_floor_which_icon = 0;
	it_inventory_icon = 1;
	it_variety = 2;
	it_damage_per_level = 5;
	it_bonus = -4;
	it_encumbrance = 3;
	it_value = 0;
	it_weight = 150;
	it_magic = 0;
	it_cursed = 1;
begindefineitem 460;
	it_full_name = "Crude Tribal Spear";
	it_variety = 2;
	it_damage_per_level = 6;
	it_bonus = 1;
	it_encumbrance = 2;
	it_value = 20;
	it_cursed = 0;
begindefineitem 461;
	it_full_name = "Fine Tribal Spear";
	it_floor_which_icon = 2;
	it_inventory_icon = 3;
	it_variety = 2;
	it_damage_per_level = 6;
	it_bonus = 2;
	it_encumbrance = 1;
	it_value = 1850;
begindefineitem 462;
	import = 48;
	it_name = "Scimitar";
	it_full_name = "Cursed Scimitar";
	it_variety = 1;
	it_damage_per_level = 5;
	it_bonus = -3;
	it_floor_which_sheet = 1046;
	it_floor_which_icon = 7;
	it_inventory_icon = 6;
	it_value = 10;
	it_weight = 80;
	it_magic = 0;
	it_cursed = 1;
begindefineitem 463;
	it_name = "Scimitar";
	it_full_name = "Crude Scimitar";
	it_damage_per_level = 6;
	it_bonus = 0;
	it_value = 60;
	it_cursed = 0;
begindefineitem 464;
	it_name = "Scimitar";
	it_full_name = "Iron Scimitar";
	it_damage_per_level = 6;
	it_bonus = 1;
	it_value = 120;
begindefineitem 465;
	it_name = "Scimitar";
	it_full_name = "Steel Scimitar";
	it_damage_per_level = 6;
	it_bonus = 2;
	it_value = 360;
begindefineitem 466;
	it_name = "Scimitar";
	it_full_name = "Blessed Scimitar";
	it_damage_per_level = 7;
	it_bonus = 4;
	it_value = 3050;
	it_magic = 1;
begindefineitem 467;
	import = 58;
	it_name = "Edge Sword";
	it_full_name = "Cursed Edge Sword";
	it_variety = 2;
	it_damage_per_level = 5;
	it_bonus = -4;
	it_floor_which_sheet = 1036;
	it_floor_which_icon = 6;
	it_inventory_icon = 7;
	it_value = 5;
	it_weight = 150;
	it_magic = 0;
	it_cursed = 1;
begindefineitem 468;
	it_name = "Edge Sword";
	it_full_name = "Bronze Edge Sword";
	it_damage_per_level = 6;
	it_bonus = 2;
	it_ability_1 = 50;
	it_ability_str_1 = 2;
	it_value = 460;
	it_cursed = 0;
begindefineitem 469;
	it_name = "Edge Sword";
	it_full_name = "Iron Edge Sword";
	it_damage_per_level = 6;
	it_bonus = 3;
	it_ability_1 = 50;
	it_ability_str_1 = 4;
	it_value = 1275;
begindefineitem 470;
	it_name = "Edge Sword";
	it_full_name = "Steel Edge Sword";
	it_damage_per_level = 6;
	it_bonus = 4;
	it_ability_1 = 50;
	it_ability_str_1 = 6;
	it_value = 1900;
begindefineitem 471;
	it_name = "Edge Sword";
	it_full_name = "Blessed Edge Sword";
	it_floor_which_sheet = 1036;
	it_floor_which_icon = 4;
	it_inventory_icon = 5;
	it_damage_per_level = 6;
	it_bonus = 5;
	it_ability_1 = 50;
	it_ability_str_1 = 8;
	it_value = 2300;
	it_magic = 1;

begindefineitem 472;
	clear;
	it_name = "Plate Mail";
	it_full_name = "Shamshod Plate Mail";
	it_variety = 13;
	it_bonus = 0;
	it_protection = 35;
	it_encumbrance = 5;
	it_floor_which_sheet = 1037;
	it_floor_which_icon = 6;
	it_inventory_icon = 7;
	it_value = 300;
	it_weight = 600;
begindefineitem 473;
	clear;
	it_name = "Plate Mail";
	it_full_name = "Scrap Metal Mail";
	it_variety = 13;
	it_bonus = -10;
	it_protection = 40;
	it_encumbrance = 5;
	it_floor_which_sheet = 1038;
	it_floor_which_icon = 0;
	it_inventory_icon = 1;
	it_ability_1 = 87;
	it_ability_str_1 = 30;
	it_value = 300;
	it_weight = 600;
begindefineitem 474;
	clear;
	it_name = "Cap";
	it_full_name = "Stylish Cap";
	it_variety = 14;
	it_bonus = 0;
	it_protection = 2;
	it_floor_which_sheet = 1040;
	it_floor_which_icon = 3;
	it_inventory_icon = 2;
	it_value = 75;
	it_weight = 40;
begindefineitem 475;
	clear;
	it_name = "Cap";
	it_full_name = "Very Stylish Cap";
	it_variety = 14;
	it_bonus = 0;
	it_protection = 2;
	it_floor_which_sheet = 1040;
	it_floor_which_icon = 7;
	it_inventory_icon = 6;
	it_value = 500;
	it_weight = 40;
begindefineitem 476;
	clear;
	it_full_name = "Toga";
	it_variety = 13;
	it_protection = 2;
	it_floor_which_sheet = 1002;
	it_floor_which_icon = 3;
	it_inventory_icon = 4;
	it_value = 20;
	it_weight = 30;
	it_identified = 1;
begindefineitem 477;
        import = 154;
        it_floor_which_sheet = 1010;
        it_floor_which_icon = 3;
	it_inventory_icon = 3;

begindefineitem 478;
	clear;
	it_name = "Gems";
	it_full_name = "Sapphires";
	it_floor_which_sheet = 1042;
	it_floor_which_icon = 5;
	it_inventory_icon = 2;
	it_variety = 21;
	it_value = 1000;
	it_weight = 20;
begindefineitem 479;
	it_full_name = "Spinel";
	it_floor_which_icon = 6;
	it_inventory_icon = 3;
begindefineitem 480;
	it_full_name = "Aquamarines";
	it_floor_which_icon = 7;
	it_inventory_icon = 4;
begindefineitem 481;
        clear;
        it_name = "Garnet";
        it_full_name = "Garnet";
        it_variety = 21;
        it_floor_which_sheet = 1030;
        it_floor_which_icon = 2;
        it_inventory_icon = 3;
        it_value = 5;
        it_weight = 10;

begindefineitem 482;
	import = 176;
	it_full_name = "Skeleton Key";
        it_floor_which_sheet = 1035;
        it_floor_which_icon = 6;
        it_inventory_icon = 7;
	it_ability_str_1 = 6;
	it_value = 200;

// GENEFORGE ITEMS

begindefineitem 483;
	clear;
	it_name = "Scaly Armor";
	it_full_name = "Chitin Armor";
	it_variety = 13;
	it_bonus = 0;
	it_protection = 13;
	it_encumbrance = 1;
	it_floor_which_sheet = 1029;
	it_floor_which_icon = 0;
	it_inventory_icon = 1;
	it_value = 20;
	it_weight = 150;
begindefineitem 484;
	clear;
	it_name = "Pod";
	it_full_name = "Healing Pod";
	it_variety = 7;
	it_charges = 1;
	it_floor_which_sheet = 1029;
	it_floor_which_icon = 4;
	it_inventory_icon = 5;
	it_ability_1 = 200;
	it_ability_str_1 = 9;
	it_value = 30;
	it_weight = 5;
	it_magic = 1;
begindefineitem 485;
	clear;
	it_name = "Spores";
	it_full_name = "Healing Spores";
	it_variety = 7;
	it_charges = 1;
	it_floor_which_sheet = 1030;
	it_floor_which_icon = 4;
	it_inventory_icon = 5;
	it_ability_1 = 130;
	it_ability_str_1 = 3;
	it_value = 50;
	it_weight = 5;
	it_magic = 1;
begindefineitem 486;
	import = 84;
	it_name = "Baton";
	it_full_name = "Thorn Baton";
	it_damage_per_level = 4;
	it_charges = 0;
	it_floor_which_sheet = 1029;
	it_floor_which_icon = 6;
	it_inventory_icon = 7;
	it_value = 48;
	it_weight = 20;
	it_missile_anim_type = 11;
begindefineitem 487;
	import = 83;
	it_name = "Baton";
	it_full_name = "Broken Baton";
	it_weight = 20;
	it_value = 0;
	it_floor_which_sheet = 1029;
	it_floor_which_icon = 2;
	it_inventory_icon = 3;
begindefineitem 488;
	it_name = "Lab Equipment";
	it_full_name = "Lab Equipment";
	it_weight = 100;
	it_value = 50;
	it_floor_which_sheet = 1033;
	it_floor_which_icon = 2;
	it_inventory_icon = 2;
begindefineitem 489;
	it_floor_which_sheet = 1033;
	it_floor_which_icon = 3;
	it_inventory_icon = 3;
begindefineitem 490;
	it_name = "Tools";
	it_full_name = "Tools";
	it_weight = 10;
	it_value = 10;
	it_floor_which_sheet = 1032;
	it_floor_which_icon = 4;
	it_inventory_icon = 5;
begindefineitem 491;
	it_name = "Limb";
	it_full_name = "Limb";
	it_weight = 50;
	it_value = 0;
	it_floor_which_sheet = 1032;
	it_floor_which_icon = 6;
	it_inventory_icon = 7;
begindefineitem 492;
	import = 172;
	it_floor_which_sheet = 1033;
	it_floor_which_icon = 1;
	it_inventory_icon = 0;
	it_value = 25;
	it_weight = 50;
begindefineitem 493;
	it_name = "Treasure Sword";
	it_full_name = "Treasure Sword";
	it_weight = 100;
	it_value = 750;
	it_floor_which_sheet = 1037;
	it_floor_which_icon = 2;
	it_inventory_icon = 3;
begindefineitem 494;
	import = 203;
	it_full_name = "Opal";
	it_floor_which_sheet = 1038;
	it_floor_which_icon = 6;
	it_inventory_icon = 7;
	it_value = 200;

begindefineitem 495;
	clear;
	it_name = "Greaves";
	it_full_name = "Leather Greaves";
	it_variety = 11;
	it_protection = 6;
	it_bonus = 0;
	it_encumbrance = 1;
	it_floor_which_sheet = 1028;
	it_floor_which_icon = 8;
	it_inventory_icon = 7;
	it_value = 15;
	it_weight = 60;

begindefineitem 496;
	clear;
	it_name = "Greaves";
	it_full_name = "Iron Greaves";
	it_variety = 11;
	it_protection = 6;
	it_bonus = 2;
	it_encumbrance = 1;
	it_floor_which_sheet = 1028;
	it_floor_which_icon = 6;
	it_inventory_icon = 5;
	it_value = 40;
	it_weight = 60;

begindefineitem 497;
	clear;
	it_name = "Greaves";
	it_full_name = "Steel Greaves";
	it_variety = 11;
	it_protection = 6;
	it_bonus = 4;
	it_encumbrance = 1;
	it_floor_which_sheet = 1028;
	it_floor_which_icon = 6;
	it_inventory_icon = 5;
	it_value = 100;
	it_weight = 60;
begindefineitem 498;
	clear;
	it_name = "Greaves";
	it_full_name = "Magic Greaves";
	it_variety = 11;
	it_protection = 6;
	it_bonus = 8;
	it_encumbrance = 0;
	it_floor_which_sheet = 1028;
	it_floor_which_icon = 6;
	it_inventory_icon = 5;
	it_ability_1 = 61;
	it_ability_str_1 = 1;
	it_value = 1750;
	it_weight = 60;
	it_magic = 1;